package org.info.service;

import java.util.List;

import org.info.mapper.SeckillDao;
import org.info.model.Seckill;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SeckillService {
	
	@Autowired
	private SeckillDao seckillDao;
	
	public List<Seckill> getSeckillList() {
		return seckillDao.queryAll(0, 4);
	}

}
